projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c76397
)
Remove some compat code from chart.el
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 18 Aug 2020 21:12:39 +0000
(23:12 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 18 Aug 2020 21:19:09 +0000
(23:19 +0200)
* lisp/emacs-lisp/chart.el (chart-face-list):
set-face-background-pixmap is always defined.
lisp/emacs-lisp/chart.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/chart.el
b/lisp/emacs-lisp/chart.el
index 2321ac1ed506b695dcc516a19f18b49c06bb9f19..964836a32ac65702dc22ecb81e22f79953a39aaa 100644
(file)
--- a/
lisp/emacs-lisp/chart.el
+++ b/
lisp/emacs-lisp/chart.el
@@
-105,9
+105,7
@@
Useful if new Emacs is used on B&W display.")
(car cl)
"white"))
(set-face-foreground nf "black")
- (if (and chart-face-use-pixmaps
- pl
- (fboundp 'set-face-background-pixmap))
+ (if (and chart-face-use-pixmaps pl)
(condition-case nil
(set-face-background-pixmap nf (car pl))
(error (message "Cannot set background pixmap %s" (car pl)))))